package com.haipumi.mapper;

import java.util.List;
import java.util.Map;

import com.haipumi.beans.haipumi_taskType;

public interface TaskTypeMapper {

	public List<haipumi_taskType> findAllTaskType(String ttname);
	
	public int findTaskTypeCount(String ttname);
	
	public int addTaskType(haipumi_taskType taskType);
	
	public int updateTaskType(haipumi_taskType taskType);
	
	public List<haipumi_taskType> findType(Map map); 
	
	public int updateTypeStatus(haipumi_taskType taskType);
	
	public int deleteTaskType(int ttid);
	
	public haipumi_taskType findTaskTypeById(int ttid);
}
